import { AxiosRequestConfig } from 'axios'
import serverApiUtils from '@/core/utils/serverApiUtils'
import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import http from '@/components/axios/http'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import BaseAdminServerApi from '@/core/framework/serverapi/BaseAdminServerApi'
import CaptchaComponentConfigResponse from '@/core/captcha/generated/types/model/response/CaptchaComponentConfigResponse'
import captchaAdminApiConfig from '@/core/captcha/generated/apiconfig/captchaAdminApiConfig'

const moduleApiConfig = captchaAdminApiConfig.captchaComponentConfig

class CaptchaComponentConfigAdminServerApi extends BaseAdminServerApi<string, CaptchaComponentConfigResponse> {}

const adminServerApi = new CaptchaComponentConfigAdminServerApi({ adminApiConfig: moduleApiConfig })

export default adminServerApi
